Skip to content

feat: make byte size units translatable#5969

Merged
IMB11 merged 3 commits intomodrinth:mainfrom
Jerozgen:format-bytes-i18n
May 9, 2026
Merged

feat: make byte size units translatable#5969
IMB11 merged 3 commits intomodrinth:mainfrom
Jerozgen:format-bytes-i18n

Conversation

@Jerozgen
Copy link
Copy Markdown
Contributor

@Jerozgen Jerozgen commented May 2, 2026

Made byte size units translatable and use bytes, KiB, MiB, etc.

In the previous code, some formatter functions used Bytes, B, KB, MB, etc. If that was intentional, let me know

@modrinth-bot
Copy link
Copy Markdown
Member

Pull request changelog

App

Added

Changed

Deprecated

Removed

Fixed

Security

Website

Added

Changed

Deprecated

Removed

Fixed

Security

Hosting

Added

Changed

Deprecated

Removed

Fixed

Security

@Jerozgen
Copy link
Copy Markdown
Contributor Author

Jerozgen commented May 7, 2026

sccache: error: Server startup failed: Failed to build cache for level 's3'

It seems unrelated to my PR. Hopefully syncing with main fixes it


<script>
import { fileIsValid } from '~/helpers/fileUtils.js'
<script setup lang="ts">
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful, thank you lol

@IMB11 IMB11 added this pull request to the merge queue May 9, 2026
Merged via the queue into modrinth:main with commit 3052a14 May 9, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants